import unittest

class TestMethod(unittest.TestCase):
    def setUp(self):
        print("test start")

    def test_upper(self):
        self.assertEqual('foo'.upper(), 'FOO')

    def test_isUpper(self):
        self.assertFalse('foo'.isupper())
        self.assertTrue('FOO'.isupper())

    def tearDown(self):
        print("test end")

class TestMethod2(unittest.TestCase):
    def setUp(self):
        print("test start")

    def test_upper(self):
        self.assertEqual('foo'.upper(), 'FOO')

    def test_isUpper(self):
        self.assertFalse('foo'.isupper())
        self.assertTrue('FOO'.isupper())

    def tearDown(self):
        print("test end")

if __name__ == "__main__":
    unittest.main()
